import { IonicModule } from '@ionic/angular';
import { RouterModule, Routes } from '@angular/router';
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { AlarmPage } from './alarm';
import { AlarmDetailPage } from '@components/alarm-detail/alarm-detail';
import { AlarmSolveComponent } from '@components/alarm-solve/alarm-solve.component';

const routs: Routes = [
  { path: '', component: AlarmPage },
  { path: 'AlarmDetailPage', component: AlarmDetailPage },
  { path: 'AlarmDetailPage/AlarmSolveComponent', component: AlarmSolveComponent },
];

@NgModule({
  imports: [
    IonicModule,
    CommonModule,
    FormsModule,
    RouterModule.forChild(routs)
  ],
  declarations: []
})
export class AlarmRoutingModule { }
